feat(guard): place governing rule text adjacent to the action it governs (#241) - #249
Conversation
…rns (#241) Repo-work denies embed the git-rules note's summary + leading excerpt (capped) after the demand sentence; action-shaped turns re-inject the full preflight excerpt instead of the summary-only downgrade; preflight surfaces a runner-up match as title+summary (skipped on economy). Closes #241 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| message (#241). Best-effort: any failure returns ``""`` — the deny still | ||
| stands on its demand sentence alone.""" | ||
| try: | ||
| from omind import recall |
| if len(titles) < 2: | ||
| return "" | ||
| try: | ||
| from omind import ai_usage, recall |
|
Warning Review limit reached
Next review available in: 21 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Implements #241: governing excerpt inside the repo-work deny (demand first, 1,600-char cap, fail-open on missing note); full re-injection on action-shaped turns via a fixed pattern list; preflight top-1 → top-2 with the second note strictly title+summary and skipped on economy. Tests cover all three plus the missing-note fallback. 950 passed; ruff clean. Version 8.4.0.
Closes #241
🤖 Generated with Claude Code